import request from "@/utils/request";

//业务运输方式配置列表
export function getBusinessTransportList(data) {
  return request({
    url: "/sys/business-transport/index",
    method: "POST",
    data
  });
}
//业务运输方式配置新增
export function addBusinessTransport(data) {
  return request({
    url: "/sys/business-transport/create",
    method: "POST",
    data
  });
}
//业务运输方式配置编辑
export function editBusinessTransport(data) {
  return request({
    url: "/sys/business-transport/update",
    method: "POST",
    data
  });
}
//业务运输方式配置详情
export function detailBusinessTransport(params) {
  return request({
    url: "/sys/business-transport/detail",
    method: "get",
    params
  });
}
//业务运输方式配置删除
export function deleteBusinessTransport(data) {
  return request({
    url: "/sys/business-transport/delete",
    method: "POST",
    data
  });
}
//业务运输方式配置启用禁用
export function enableBusinessTransport(data) {
  return request({
    url: "sys/business-transport/status",
    method: "POST",
    data
  });
}
